//
//  CommonCustomer.h
//  YIJU2.0HD
//
//  Created by 张金国 on 16/5/26.
//  Copyright © 2016年 Mr.X. All rights reserved.
//


typedef NS_ENUM(NSUInteger, Sex) {
    Male,
    Famale,
    Unknow,
};


#import <Foundation/Foundation.h>
/*
 
 commonCustomer =       (
 {
 activities =                 (
 );
 appointmentInfomation =                 (
 );
 attentionedLayouts =                 (
 "A3户型",
 "B1户型"
 );
 avatar = "<null>";
 continueLoginTimes = 0;
 continueSignTimes = 0;
 lastLoginTime = "<null>";
 nickName = testNickName1;
 occupation = "老司机";
 sex = 0;
 userId = 23;
 visitHistories =                 (
 {
 register = aa;
 visitTime = "2016-03-23 17:20:03";
 },
 {
 register = aaafsf;
 visitTime = "2016-03-23 17:20:03";
 }
 );
 }
 );

 
 */

/*
 “userId”:用户id(Integer),
 “avatar”:用户头像(String),
 “lastLoginTime”:上次登录时间(String),
 “nickName”:用户昵称(String),
 “sex”:性别(Integer, 0女，1男，3未设定)，
 “occupation”:职业(String),
 “AppointmentInfomation”:预约看房信息{
 “houseNumber”：房屋编号(String),
 “name”:看房人姓名(String),
 “date”：看房日期(String),
 “phoneNumber”:手机号(String),
 “number”:看房人数(Integer),
 “remark”:备注(String)
 }
 “continueLoginTimes”:连续登录天数(Integer)，
 “continueSignTimes”:当前项目签到天数(Integer)，
 “activities”:当前参加活动{
 “activityType”:活动类型(Integer)，
 “activityIntroduction”:活动简介(String),
 }
 “attentionedLayouts”:[户型名称]([String]),
 “visitHistories”:[访问历史纪录{
 “date”:访问时间(String),
 “register”:登记人(String)
 }],

 
 
 */


@interface CommonCustomer : NSObject
/**
 *  当前参加的活动
 */
@property (nonatomic ,strong)NSArray    *activities;
/**
 *  预约看房信息
 */
@property (nonatomic ,strong)NSArray    *appointmentInfomation;
/**
 *  关注的户型
 */
@property (nonatomic ,strong)NSArray    *attentionedLayouts;
/**
 *  客户头像
 */
@property (nonatomic ,strong)NSString   *avatar;
/**
 *  上次登录的时间
 */
@property (nonatomic ,strong)NSString   *lastLoginTime;
/**
 *  连续登录的天数
 */
@property (nonatomic ,assign)NSInteger  continueLoginTimes;
/**
 *  连续签到的天数
 */
@property (nonatomic ,assign)NSInteger  continueSignTimes;
/**
 *  用户的昵称
 */
@property (nonatomic ,strong)NSString   *nickName;
/**
 *  从业年限
 */
@property (nonatomic ,strong)NSString   *occupation;
/**
 *  性别
 */
@property (nonatomic ,assign)Sex        sex;
/**
 *  用户id
 */
@property (nonatomic ,assign)NSInteger  *userId;
/**
 *  访问历史纪录
 */
@property (nonatomic ,strong)NSArray    *visitHistories;




@end
